package com.chenbei.schedule.enums;

import lombok.Getter;

@Getter
public enum JobConcurrentEnums {
    DISALLOW(0, "禁止并发"),
    ALLOW(1, "允许并发");

    private final Integer concurrent;

    private final String name;

    JobConcurrentEnums(Integer concurrent, String name) {
        this.concurrent = concurrent;
        this.name = name;
    }
}
